package com.weike.wk_android.model;

import com.weike.wk_android.R;
import com.weike.wk_android.utils.Utils;
import com.weike.wk_android.view.fragment.AmuseFragment;
import com.weike.wk_android.view.fragment.EconomicsFragment;
import com.weike.wk_android.view.fragment.FunFragment;
import com.weike.wk_android.view.fragment.HealthFragment;
import com.weike.wk_android.view.fragment.LifeFragment;
import com.weike.wk_android.view.fragment.LocalFragment;
import com.weike.wk_android.view.fragment.RecommendFragment;
import com.weike.wk_android.view.fragment.TopFragment;

/**
 * 资讯页面信息类
 */
public class InformationTab {
    public static String[] getTabsTxt(){
        String[] tabs={
                Utils.getString(R.string.infor_recommend),
                Utils.getString(R.string.infor_fun),
                Utils.getString(R.string.infor_local),
                Utils.getString(R.string.infor_amuse),
                Utils.getString(R.string.infor_top),
                Utils.getString(R.string.infor_life),
                Utils.getString(R.string.infor_health),
                Utils.getString(R.string.infor_economics)
        };
        return tabs;
    }

    public static Class[] getFragments(){
        Class[] clz={
                RecommendFragment.class,
                FunFragment.class,
                LocalFragment.class,
                AmuseFragment.class,
                TopFragment.class,
                LifeFragment.class,
                HealthFragment.class,
                EconomicsFragment.class
        };
        return clz;
    }
}
